package com.netty.quartz.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 定时任务调度日志表 sys_job_log
 * 
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysJobLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "job_log_id",type = IdType.AUTO)
    private Long jobLogId;

    /** 任务名称 */
    @TableField(value = "job_name")
    private String jobName;

    /** 任务组名 */
    @TableField(value = "job_group")
    private String jobGroup;

    /** 调用目标字符串 */
    @TableField(value = "invoke_target")
    private String invokeTarget;

    /** 日志信息 */
    @TableField(value = "job_message")
    private String jobMessage;

    /** 执行状态（0正常 1失败） */
    @TableField(value = "status")
    private String status;

    /** 异常信息 */
    @TableField(value = "exception_info")
    private String exceptionInfo;

    /** 开始时间 */
    @TableField(value = "create_time")
    private Date createTime;


}
